﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using yunbo.Model.BIP;
using yunbo.Repositorys.FPMRepositorys;

namespace yunbo.BIPControllers.BIPControllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class Mbd_BOMController : ControllerBase
    {
        Mbd_BOMRepository mbd_BOMRepository = new Mbd_BOMRepository();


        [HttpGet("GetMbd_BOM")]
        public IActionResult GetMbd_BOM()
        {
            List<Mbd_BOM> quans = mbd_BOMRepository.GetMbd_BOM();
            return Ok(quans);
        }
    }
}
